package data;

import java.util.List;


public class SubModel {

	/**
	 * @param args
	 */
	String subModelID;
	String category;
	String name;
	int headSemester;
	int tailSemester;
	int subModelHeadCredit;
	int subModelTailCredit;
	List<CourseBasicInfo> preCourList;
	
	public SubModel(String subID,String category,String name,int hS,int tS,int headCredit,int tailCredit){
		subModelID = subID;
		this.category = category;
		this.name = name;
		headSemester = hS;
		tailSemester = tS;
		subModelHeadCredit = headCredit;
		subModelTailCredit = tailCredit;
	}
	public String getSubModelID(){
		return subModelID;
	}
	public String getCategory(){
		return category;
	}
	public String getName(){
		return name;
	}
	public int getHeadSemester(){
		return headSemester;
	}
	public int getTailSemester(){
		return tailSemester;
	}
	public int getSubModelHeadCredit(){
		return subModelHeadCredit;
	}
	public int getSubModelTailCredit(){
		return subModelTailCredit;
	}
	public List<CourseBasicInfo> getPreCourseList(){
		return preCourList;
	}
	public void setPreCourseList(List<CourseBasicInfo> list){
		preCourList = list;
	}
	

}
